import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

import moment from 'moment'
Vue.filter('datefmt',function(input,fmtstring){
	return moment(input).format(fmtstring);
})
//引入uView
import uView from "uview-ui";
Vue.use(uView);

import TabBar from "@/components/Tabbar/Tabbar.vue"
Vue.component('view-tabbar', TabBar)

import BindMobile from "@/components/BindMobile.vue"
Vue.component('bind-mobile', BindMobile)

import api from '@/common/api.js'
Vue.prototype.$api = api;

import noData from "@/common/noData.vue"
Vue.component('noData', noData)

const app = new Vue({
	...App
})
app.$mount()
